const state = {
	isCollapse: false,																// 控制左侧菜单展开还是收起，false 展开
	menuList: [																		// 菜单列表
		{
			index: "1",
			path: "/Home",
			name: "Home",
			meta: {
				title: "首页",
				keepAlive: false,
				icon: "el-icon-s-home"
			},
			children: []
		}, {
			index: "2",
			path: "",
			name: "",
			meta: {
				title: "系统设置",
				keepAlive: false,
				icon: "el-icon-s-tools"
			},
			children: [
				{
					index: "2-1",
					path: "/UserManage",
					name: "UserManage",
					meta: {
						title: "用户管理",
						keepAlive: true,
						icon: ""
					},
					children: []
				}, {
					index: "2-2",
					path: "/RoleManage",
					name: "RoleManage",
					meta: {
						title: "角色管理",
						keepAlive: true,
						icon: ""
					},
					children: []
				}
			]
		}, {
			index: "4",
			path: "",
			name: "",
			meta: {
				title: "课程管理",
				keepAlive: false,
				icon: "el-icon-reading"
			},
			children: [
				{
					index: "2-1",
					path: "/myCourse",
					name: "MyCourse",
					meta: {
						title: "我的课程",
						keepAlive: true,
						icon: ""
					},
					children: []
				}
			]
		}

		// 示例
		// {
		// 	index: "3",
		// 	path: "/AddTag",
		// 	name: "AddTag",
		// 	meta: {
		// 		title: "添加标签",
		// 		keepAlive: true,
		// 		icon: "el-icon-collection-tag"
		// 	},
		// 	children: []
		// }, 
	],
	navList: [																		// 右侧顶部导航列表，默认首页
		{
			name: "Home",
			title: "首页",
			actived: true,
			router: "/Home",
			meta: {
				keepAlive: false
			}
		}
	],
	cachedViews: [],																// 页面缓存
}

export default state